#pragma once

class EngineConfig 
{
public:
	//=== vars ===//
	// storage
	irr::core::stringc		m_strConfigFile;

	F32						m_f32Gravity;

	//! initialize and load from xml file
	RCODE			Startup( const char * pConfigXmlFileName );
	//! shutdown
	RCODE			Shutdown( void );

	//! reset settings to default
	void			Reset( void );
	//! read settings from file
	RCODE			ReadConfig( void );
	//! write settings from file
	RCODE			WriteConfig( void );
};

typedef VxSingleton<EngineConfig> EngineConfigImp;
